let fs = require('fs');
let buf = '';

process.stdin.on('readable', function() {
    let chunk = process.stdin.read();
    if (chunk) buf += chunk.toString();
});

process.stdin.on('end', function() {
    let v = parseFloat(buf);
    if (v >= 0 && v <= 25) console.log("Intervalo [0,25]");
    else if (v > 25 && v <= 50) console.log("Intervalo (25,50]");
    else if (v > 50 && v <= 75) console.log("Intervalo (50,75]");
    else if (v > 75 && v <= 100) console.log("Intervalo (75,100]");
    else console.log("Fora de intervalo")
});